﻿view.pages.home = function () {
    return {
        load: function () {
            var allCategories = $.parseJSON(service.xhr.get('http://localhost/services/forumservice/rest/json/categories'));
            $('#home .page ul').loadJSON(allCategories);
        }
    }
} ();